home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
teglc.arc
/
SAMC0202.C
< prev
next >
Wrap
Text File
|
1991-02-16
|
723b
|
34 lines
/* samc0202.c */
#include <graphics.h>
#include "teglsys.h"
optionmptr om1, om2;
unsigned getmssense(imagestkptr ifs, msclickptr ms)
{
setmousesense(ifs->x,ifs->y);
return(1);
}
void main()
{
easytegl();
om1 = createoptionmenu(font14);
defineoptions(om1," Info... ", TRUE, NULL);
defineoptions(om1,"--", FALSE, NULL);
defineoptions(om1," Quit ", TRUE, quit);
om2 = createoptionmenu(font14);
defineoptions(om2," Memory ",TRUE,showcoordinates);
defineoptions(om2," Mouse sensitivity ",TRUE,getmssense);
createbarmenu(0,0,getmaxx());
outbaroption(" File ",om1);
outbaroption(" Utility ",om2);
teglsupervisor();
}